﻿using Caliburn.Micro;

namespace WPCloudPT.ViewModels
{
    public class ConteudoViewModelStorage : StorageHandler<ConteudoViewModel>
    {
        /// <summary>
        /// Overrided by inheritors to configure the handler for use.
        /// </summary>
        public override void Configure()
        {
            Property(t => t.DadosPastas).InPhoneState().RestoreAfterViewLoad();
            Property(t => t.InfoTitulo).InPhoneState().RestoreAfterViewLoad();
            Property(t => t.SelectedDadosPastas).InPhoneState().RestoreAfterViewLoad();
        }
    }
}
